@extends('home.layout.index')
@section('css')

<!-- <link rel="stylesheet" href="/ad/css/pre_pare.css"> -->
@endsection
@section('header')

<div class='nav-ul-view'>
  <ul class='menu g'>

    <li class='gi
        
        '>
      <a class='m-item' href='/home'>
        <span>首页</span>
      </a>
    </li>
    <li class='gio
        '>
      <a class='m-item' href='/home/chanpin'>
        <span>产品</span>
      </a>
    </li>
                                <li class='gi'>
      <a class='m-item' id='storeLink' href='/home/shop' data-hd-url='http://hd.oppo.com/act/2016/1001/index.html'>
        <span>商城</span>
              </a>
          </li>
    <li class='gi
        is-active'>
      <a class='m-item' href='/home/notice'>
        <span>公告</span>
      </a>
    </li>
    <li class='gi
        '>
     
    </li>
   
  </ul>
  </div>

@endsection
@section('lunbotu')
<style type="text/css">
  
  .zheng{
  width:1000px;
  margin:0 auto;
  margin-bottom: 40px;
  margin-top:30px;


}

.gong{
  border:1px solid #D6E7C6;
  background:#F7F7F7;
  padding:5px; 
}

#go{
  text-indent: 25px;
}

.kong{
  height:10px;
}

.tab{
  margin:0 auto;
  border:1px solid ;

}

#ti{
  background:#F7F7F7;
}
.biaoti{
  text-align:left;
  margin-left:25px;
}

.shij{
  text-align:right;
  margin-right:27px;
  font-size: 14px;
}

.biao{
  text-align:left;
  margin-left:25px;
  color:#005AA5;
  font-size: 12px;

}

.shi{
  text-align:right;
  margin-right:25px;
  font-size: 12px;
  color:#C6A59C;
}

#ne{
  border-bottom:1px dotted #DEDEDE;
}
</style>
        <div class="zheng ">
              <div class="gong"><h3 id="go">公告</h3>
        </div>
        <div class="kong"></div>
        <table style="border:0;width:1000px" class="table table-striped  table-hover table-condensed" > 
          <tr id="ti">
            <td><span class="biaoti"><b>标题</b></span></td>
            <td><p class="shij">发表时间</p></td>
          </tr>
          @foreach($data as $k=>$v)
          
          <tr id="ne">     
          <td id="for"><a href="/home/notice/abc?id={{$v['id']}}" id="for" class="biao">
          <font for="for">{{ $v['title']}}</font></a></td>
          <td><div class="shi"  for="for"><span  for="for">{{ $v['createtime']}}</span></div></td>
          </tr>
        @endforeach
        </table>
        </div>
        <div class="dataTables_info" id="pre_pare">
        
        </div>
      

@endsection